# file = open("text.txt")
# content = file.read(2)
# print(content)
# print(file.readline(3))
# print(file.readlines())
# file.close()



cont_lines=[
    "niganma",
    "不知道噶那么",
    "你好啊"
    
]
file = open("text.txt","a")
# file.writelines(cont_lines)
for line in cont_lines:
    file.write(line+"\n")
    
# print(content)
# print(file.readline(3))
# print(file.readlines())
file.close()